package com.jiyun.user.openfeign;

import com.jiyun.user.domain.User;
import com.jiyun.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("day14user")
public interface Feign {
    @RequestMapping("user/userlist")
    public List<User> list();
}
